package com.atguigu.szdz.dcsyl.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 井区信息
 */
@Data
@TableName("dm_area")
public class AreaEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 编号
     */
    private String code;

    /**
     * 项目Id
     */
    @TableId
    private Long projectId;

    /**
     * 备注
     */
    private String remark;

    @TableField(exist = false)
    public List<AreaWellEntity> wells;
    @TableField(exist = false)
    public List<AreaParamEntity> params;
    @TableField(exist = false)
    public List<AlgorithmEntity> algorithms;
}
